home *** CD-ROM | disk | FTP | other *** search
- function itemHandler1(obj, item)
- {
- getUrl("http://www.maxgames.com", "_blank");
- }
- function itemHandler2(obj, item)
- {
- getUrl("http://www.reactorgames.com", "_blank");
- }
- function itemHandler3(obj, item)
- {
- stop();
- }
- function itemHandler4(obj, item)
- {
- play();
- }
- function itemHandler5(obj, item)
- {
- _quality = "high";
- }
- function itemHandler6(obj, item)
- {
- _quality = "medium";
- }
- function itemHandler7(obj, item)
- {
- _quality = "low";
- }
- drawarea = 0;
- root_cm = new ContextMenu();
- root_cm.hideBuiltInItems();
- aaa_cmi = new ContextMenuItem("Visit MaxGames.com",itemHandler1);
- bbb_cmi = new ContextMenuItem("Visit ReactorGames.com",itemHandler2);
- eee_cmi = new ContextMenuItem("High Quality",itemHandler5);
- fff_cmi = new ContextMenuItem("Mid Quality",itemHandler6);
- ggg_cmi = new ContextMenuItem("Low Quality",itemHandler7);
- eee_cmi.separatorBefore = true;
- root_cm.customItems.push(aaa_cmi,bbb_cmi,eee_cmi,fff_cmi,ggg_cmi);
- _root.menu = root_cm;
-